Hello all,
I have three variables: hospitalid and claims. I am trying to create a bar chart of top 5 hospital with total claims.
egen total_claims = total(claims), by(hospitalid)
Now I am trying to create bar chart with 5 hospitalids that have highest total claims in descending order. Any suggestions would be welcomed. Thank you.
I have three variables: hospitalid and claims. I am trying to create a bar chart of top 5 hospital with total claims.
egen total_claims = total(claims), by(hospitalid)
Now I am trying to create bar chart with 5 hospitalids that have highest total claims in descending order. Any suggestions would be welcomed. Thank you.

Comment